package com.example.demojenkins.stream;

public class Student {

    private String teacherName;

    private String teacherEnglishName;

    private String name;

    private Integer age;

    public Student(String teacherName, String name, Integer age) {
        this.teacherName = teacherName;
        this.name = name;
        this.age = age;
    }

    public Student() {
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTeacherEnglishName() {
        return teacherEnglishName;
    }

    public void setTeacherEnglishName(String teacherEnglishName) {
        this.teacherEnglishName = teacherEnglishName;
    }

    @Override
    public String toString() {
        return "Student{" +
                "teacherName='" + teacherName + '\'' +
                ", teacherEnglishName='" + teacherEnglishName + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
